package com.egao.common.module.student.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.egao.common.core.web.PageParam;
import com.egao.common.module.student.entity.StudentRecord;
import com.egao.common.module.student.mapper.StudentRecordMapper;
import com.egao.common.module.student.service.StudentRecordService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 学生记录服务接口实现类
 *
 * @author lym
 */
@Service
public class StudentRecordServiceImpl extends ServiceImpl<StudentRecordMapper, StudentRecord> implements StudentRecordService {

    @Override
    public List<StudentRecord> listPage(PageParam<StudentRecord> page) {
        page.setOrder("create_time", false);
        return baseMapper.listPage(page);
    }
}
